/**
 * 
 */
package com.security.view.beans;

import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.model.SelectItem;

import com.archtecture.view.beans.PadraoCrudMB;
import com.security.control.models.Perfil;
import com.security.view.utils.UtilSelectItens;

/**
 * @author Enir
 * 
 */

@ManagedBean
@ViewScoped
public class PerfilMB extends PadraoCrudMB<Perfil> {

	/**
	 * long
	 */
	private static final long	serialVersionUID	= 2938788282426420006L;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.archtecture.view.beans.PadraoCrudMB#getInstance()
	 */
	@Override
	public Perfil getInstance() {
		return new Perfil();
	}

	public List<SelectItem> getStatus() {
		return UtilSelectItens.getSelectItemStatus();
	}

}
